import { defineStore } from 'pinia'
import { useRoute } from 'vue-router'

export const useLayoutStore = defineStore('layout', {
  state: () => {
    const route = useRoute()
    return {
      systemPath: route.matched[0].path,
      refresh: false
    }
  },
  actions: {}
})
